package com.dingwen.auause.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dingwen.auause.entity.PermissionEntity;

import java.util.List;

/**
 * permission service
 *
 * @author dingwen
 * 2021.05.12 16:24
 */
public interface PermissionService extends IService<PermissionEntity>{

    /*
     * 根据用户id查询权限信息
     * @param userId
     * @return PermissionEntity>
     */
     List<PermissionEntity> getPermissionsByUserId(Long userId);
}
